package com.ruoyi.web.controller.system;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
//        while (true) {
//            System.out.println("刘少清" + "是帅哥吗");
//            String s = scanner.nextLine();
//            if (s.equals("是")) {
//                System.out.println("答对了，真聪明");
//            } else if (s.equals("不是")) {
//                System.out.println("这都不知道，你真没品味");
//            } else {
//                System.out.println("亲输错了只能输入是或不是");
//            }
//            break;
//        }
        int random = (int) ((Math.random() * (999999 - 100000 + 1)) + 100000);
        System.out.println("随机数："+random);
        String money = "1";
        int i = 5;
        double d = 1111111111;
        float f  = 1234567894;
        boolean b = true;
        b = false;
        boolean  a= false;
        String sex = "男";
        if (sex.equals("男")) {

        } else if (!sex.equals("男")){

        }

        /*if ((!a ||  b ==  ) || (!b && a)) {
            System.out.println("1");
        } else {
            System.out.println("2");

        }*/

        if (b == true) {  //b = false
            System.out.println("b=true");
        } else if (b == false) {
            System.out.println("b=false");

        }
    }
}
